// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import routerResource from 'vue-resource'
Vue.use(axios)
Vue.use(routerResource)

import store from '@/store/store'
//引入mint-ui js 文件和样式
import mint from "mint-ui"
import 'mint-ui/lib/style.min.css';
Vue.use(mint)
//引入element-ui
import elementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(elementUI)
//引入字体图标样式
import './../statics/fontawesome/css/font-awesome.css'
//引入mui样式
import './../statics/mui/css/mui.css'
//引入公共样式
import '../statics/css/site.css'
//引入公共js
import common from '@/../statics/common/common.js'

//格式化日期
import moment from 'moment';
//定义全局过滤器
Vue.filter('datefmt', function (input, fmtstring) {
	return moment(input).format(fmtstring);
});
Vue.config.productionTip = false
//vue 图片全屏插件 项目中没有使用
import fancyBox from 'vue-fancybox';

new Vue({
  el: '#app',
  router,
  store,
  axios,
  render: c => c(App) 
})
